package com.k7.mobile.platform.dao;

import java.util.List;

import com.k7.mobile.platform.dataobject.GramDO;
import com.k7.mobile.platform.dataobject.RankingDO;
import com.k7.mobile.platform.dataobject.RecommendxDO;

/**
 * 游戏表(cmstop_sj_gram)
 * 
 * @author nandi.ldl
 * @version  IGramDAO.java 2013-4-16 10:57:48
 * 
 */
public interface IGramDAO {
	/** 
	 * 新增
	 * @param gramDO
	 * @return
	 */
	public Long add(GramDO gramDO);
	/**
	 * 删除
	 * @param gramDO
	 */
	
	public void delete(GramDO gramDO);
	/**
	 * 修改
	 * @param gramDO
	 */
	
	public void update(GramDO gramDO);
	/**
	 *查询列表
	 * @param gramDO
	 */
	
	public List<GramDO> findList(GramDO gramDO);
	
	/**
	 * 根据id获得对象
	 * @param gramDO
	 */
	
	public GramDO getGram(GramDO gramDO);
	
	
	/**
	 * 按排行查询游戏列表
	 * @param rankingDO
	 * @return
	 */	
	public List<GramDO> findRankingGameList(RankingDO rankingDO);
	/**
	 * 按推荐查询游戏列表
	 * @param recommendxDO
	 * @return
	 */
	public List<GramDO> findRecommendGameList(RecommendxDO recommendxDO) ;

	
}
